package com.nuoniu.sibanyun.entity.dto;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @auther 小啊刚
 * @date 2020/6/2
 */
@Data
public class SysUserDto {

    private Page page = new Page();

    private Long key;
    @ApiModelProperty(value = "用户id")
    private Long id;

    @ApiModelProperty(value = "登录账户")
    private String userName;

    @ApiModelProperty(value = "用户密码")
    private String password;

    @ApiModelProperty(value = "用户姓名")
    private String realName;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "电子邮箱")
    private String email;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "公司id")
    private Long companyId;

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "机构id")
    private Long officeId;

    @ApiModelProperty(value = "机构编码")
    private String officeCode;

    @ApiModelProperty(value = "机构名称")
    private String officeName;

    @ApiModelProperty(value = "角色id列表")
    private List<Long> roleId;

    @ApiModelProperty(value = "角色名称")
    private String roleName;

    @ApiModelProperty(value = "是否是管理员")
    private Boolean isSysAdmin;

    @ApiModelProperty(value = "用户id")
    private List<Long> userId;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "搜索条件关键字")
    private String searchKey;
}
